package com.quanshu.shop.goods.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.quanshu.exchange.R;

import java.util.List;

/**
 * 作者  李哲
 * 创建时间 2018/8/7
 * 邮箱 lizhetongliao@163.com
 * 说明
 **/
public class SearchTxtAdapter extends BaseQuickAdapter<String, BaseViewHolder> {
    public SearchTxtAdapter(@Nullable List<String> data) {
        super(R.layout.item_goods_propety_child, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, String item) {
        helper.setText(R.id.item_goods_property_child_txt, item);
        helper.addOnClickListener(R.id.item_goods_property_child_txt);
    }
}
